package com.gdit.zax.dao;

import java.util.ArrayList;

import com.gdit.zax.entitys.BaseEntity;
import com.gdit.zax.entitys.Section;

public interface SectionDao {
	//获取章节
	public ArrayList<Section> getAllSection();
	public ArrayList<Section> getAllSection(int uid);
	public Section getSectionByName(String name);
	
	//获取所有视频章节分类
	public ArrayList<BaseEntity> getAllCoursetype();
	
	//增加视频章节分类(不管)
	public BaseEntity addSectionTypeWhetherExist(String name);
	
	public Section getSectionInfo(int sid);
}
